* {
    /* 去除默认样式 */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
input{
    outline: none;
}

html,body{
    height: 100%;
}
body{
    display: flex;
    background:linear-gradient(to right, rgb(190, 170, 173),rgb(180, 211, 223))
}

.box{
    width: 1050px;
    height: 600px;
    display: flex;
    position: relative;
    margin: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255,.6);
    box-shadow: 4px 4px 3px rgba(0, 0, 0,.1);
}

.pre{
    width: calc(1050px/2);
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
    border-radius: 4px;
    box-shadow:  4px 4px 3px rgba(0, 0, 0,.1);
    background-color: #edd4dc;
    transition: 0.5s ease-in-out;
}

.pre h1{
    margin-top: 150px;
    text-align: center;
    letter-spacing: 5px;
    color: white;
    text-shadow:   4px 4px 3px rgba(0, 0, 0,.1);
}
.pre p{
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin: 20px 0px;
    font-weight: bold;
    color: #fff;
    text-shadow:  4px 4px 3px rgba(0, 0, 0,.1);
}
.img-box{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 20px auto;
    overflow: hidden;
    box-shadow: 4px 4px 3px rgba(0, 0, 0,.1);
}

.img-box img{
    width: 100%;
}
.login,.register{
    /* 相同宽度 */
  flex:1;
  height: 100%;
}

.input1{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title{
    height: 300px;
    line-height: 500px;
}

.title h2{
   text-align: center;
   color: white;
   letter-spacing: 5px;
}


input{
    width: 60%;
    height: 40px;
    text-indent: 4px;
    margin-bottom: 20px;
    border: 1px solid #b0cfe9;
    border-radius: 4px;
}

input:focus{
   color: #b0cfe9; 
}

input:focus::placeholder{
    opacity: 0;
}
.btn{
    display: flex;
    justify-content: center;
}

.btn button{
    width: 100px;
    height: 30px;
    line-height: 30px;
    margin: 0px 7px;
    border: none;
    border-radius: 4px;
    background-color: #69b3f0;
    color: white;
}
button:hover{
    cursor: pointer;
    opacity: .8;
}

.btn p{
    height: 30px;
    line-height: 30px;
    color: white;
    font-size: 14px;
}

.btn p:hover{
    cursor: pointer;
    border-bottom: 1px solid white
}